import * as React from 'react';
import './index.less';

interface Props {
  history: any,
  title: string
}

export default class NormalHeader extends React.Component<Props> {
  render() {
    return (
      <div className="normal-header">
        <i className="iconfont icon-fanhui" onClick={()=>this.props.history.goBack()}></i>
        {this.props.title}
        <i className='iconfont'></i>
      </div>
    )
  }
}